
/*
 * Copyright (C) 2010 Bitglue. All rights reserved.
 *
 * $Id: BundleModel.java bself $
 */

package com.bitglue.web.admin.webmvc.model;

import java.util.Date;
import java.util.List;

/**
 * BundleModel for admin console.
 * @author Bryan Patrick Self
 */
public class BundleModel {

    private List<BundleModel> bundles;
    private String location;
    private String state;
    private String symbolicName;
    private Date lastModified;
    private String version;
    private long id;
    private boolean isFragment;

    public void setBundles(List<BundleModel> bundles) {
        this.bundles = bundles;
    }
    public List<BundleModel> getBundles() {
        return bundles;
    }

    public void setState(String state) {
        this.state = state;
    }
    public String getState() {
        return state;
    }

    public void setId(long id) {
        this.id = id;
    }
    public long getId() {
        return id;
    }

    public void setLocation(String location) {
        this.location = location;
    }
    public String getLocation() {
        return location;
    }

    public void setSymbolicName(String symbolicName) {
        this.symbolicName = symbolicName;
    }
    public String getSymbolicName() {
        return symbolicName;
    }

    public void setLastModified(Date lastModified) {
        this.lastModified = lastModified;
    }
    public Date getLastModified() {
        return lastModified;
    }

    public void setVersion(String version) {
        this.version = version;
    }
    public String getVersion() {
        return version;
    }

    public void setIsFragment(boolean isFragment) {
        this.isFragment = isFragment;
    }
    public boolean getIsFragment() {
        return isFragment;
    }

}
